from exts import db


# 学生类
class Student(db.Model):

    __tablename__ = 'student'
    id = db.Column(db.Integer, autoincrement=True, primary_key=True)
    name = db.Column(db.String(255))
    number = db.Column(db.String(255))
    phone = db.Column(db.String(255))
    class_name = db.Column(db.String(255))
    age = db.Column(db.Integer)
    sex = db.Column(db.String(255))
    dept = db.Column(db.String(255))



